package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.MyTravelList;

import java.util.List;
import java.util.Map;

public interface IMyTravelListService {

    void deleteByPrimaryKey(Long id);

    void insert(MyTravelList record);

    MyTravelList selectByPrimaryKey(Long id);

    List<MyTravelList> selectAll();

    void updateByPrimaryKey(MyTravelList record);

    MyTravelList selectByUserIdAndStrategyId(Long userId, Long strategyId);

    void saveRelation(MyTravelList travelList);

    List<Map> getByUserId(Long userId);
}
